/**
 * 二级页
 */

// -------------------------------二级页------------------------------------

if(location.href=="http://jr.jl.gov.cn/zxfw/ldxx/"){
//领导信箱
	_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
			
			var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
			$(inputIframe).find("#frmData select").attr({placeholder:"请选择收信人",title:"请选择收信人"});
			$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"信件主题",title:"信件主题"});
			$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"您的姓名",title:"您的姓名"});
			$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"联系方式",title:"联系方式"});
			$(inputIframe).find("#frmData .xdRichTextBox").attr({placeholder:"信件内容",title:"信件内容"});
			
			$(inputIframe).find("#SubmitButton").attr("title","提交");	
			$(inputIframe).find("#ResetButton").attr("title","重置");	
	
		}
	}, 500);	
}

if(location.href=="http://jr.jl.gov.cn/zxfw/zxzx/"){
//在线咨询
	_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
			
			var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
			$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"咨询人",title:"咨询人"});
			$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系电话",title:"联系电话"});
			$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"标题",title:"标题"});
			$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});
			
			$(inputIframe).find("#SubmitButton").attr("title","提交");	
			$(inputIframe).find("#ResetButton").attr("title","重置");	
	
		}
	}, 500);	
}

if(location.href=="http://jr.jl.gov.cn/zxfw/dczj/"){
//征集调查
	
	_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
			
			var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
			$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"您的姓名",title:"您的姓名"});
			$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系方式",title:"联系方式"});
			$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"标题",title:"标题"});
			$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"时间",title:"时间"});
			$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});
			
			$(inputIframe).find("#SubmitButton").attr("title","提交");	
			$(inputIframe).find("#ResetButton").attr("title","重置");	
	
		}
	}, 500);	
}

if(location.href=="http://jr.jl.gov.cn/zxfw/jdts/"){
//监督投诉
	
	_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
			
			var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
				
			$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"姓名",title:"姓名"});
			$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系电话",title:"联系电话"});
			$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"标题",title:"标题"});
			$(inputIframe).find("#frmData textarea").attr({placeholder:"内容",title:"内容"});
			
			$(inputIframe).find("#SubmitButton").attr("title","提交");	
			$(inputIframe).find("#ResetButton").attr("title","重置");

		}
	}, 500);	
	
}





